package com.njym.payment.wxpay.properties;

import com.njym.annotation.ExistCheck;

import javax.validation.constraints.NotBlank;

/**
 * @program: MicroPayParams
 * @description: 微信刷卡支付参数
 * @author: yh
 * @create: 2018-08-30 22:18
 **/
public class MicroPayParams {
    @NotBlank(message = "orgId不能为空")
    private String orgId;

    @NotBlank(message = "channelId不能为空")
    private String channelId;

    private String deviceInfo;

    private String body;

    private String detail;

    @NotBlank(message = "outTradeNo不能为空")
    @ExistCheck(message = "订单号已存在，请重新生成！")
    private String outTradeNo;

    @NotBlank(message = "totalFee不能为空")
    private String totalFee;

    private String authCode;

    private String cardNo;

    private String name;

    private String expireTime;

    @NotBlank(message = "operatorId不能为空")
    private String operatorId;

    @NotBlank(message = "operatorName不能为空")
    private String operatorName;

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(String totalFee) {
        this.totalFee = totalFee;
    }

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }
}
